.class Lcom/waiqin365/lightapp/kehu/ho;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/kehu/es;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->o(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setEnabled(Z)V

    return-void
.end method

.method public a(ZLjava/util/HashMap;I)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0, p1}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->a(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;Z)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0, p3}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->b(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;I)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->o(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->e(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->e(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    :cond_0
    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0, p2}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->a(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;Ljava/util/HashMap;)Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->f(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Lcom/waiqin365/lightapp/kehu/b/an;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/b/an;->a(Z)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->c(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->a(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;Ljava/util/HashMap;)Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->j(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->l(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->f(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Lcom/waiqin365/lightapp/kehu/b/an;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/b/an;->a(Z)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ho;->a:Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;->f(Lcom/waiqin365/lightapp/kehu/CustomerManagerActivity;)Lcom/waiqin365/lightapp/kehu/b/an;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/b/an;->a(Z)V

    goto :goto_0
.end method
